package com.xgz.service.circular;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 测试循环依赖  A依赖B，B依赖A
 * @author xgz
 */
@Component
public class B {

	public B() {
		System.out.println("B 无参构造执行...");
	}

	@Autowired
	private A a;
}
